package com.treasure.web.mapstruct;

import com.treasure.domain.domain.entity.SegmentDocEntity;
import com.treasure.web.command.response.chat.ChatRelationResponse;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author sunhongmin
 * @date 2023/10/8 18:40
 * @description
 */
@Mapper
public interface SegmentDocAssembler {
    SegmentDocAssembler INSTANCE = Mappers.getMapper(SegmentDocAssembler.class);

    ChatRelationResponse convertChatRelationResponse(SegmentDocEntity segmentDocEntity);
    List<ChatRelationResponse> convertChatRelationResponseList(List<SegmentDocEntity> segmentDocEntityList);
}
